package com.simpleoa.model;

import java.io.Serializable;
import java.util.Date;

public class Attend implements Serializable {
	private static final long serialVersinoUID = 48L;
	private Integer id;
	private String dutyDay;
	private Date punchTime;
	private boolean isCome;
	private AttendType type;
	private Employee employee;

	public Attend() {
	};

	public Attend(Integer id, String dutyDay, Date punchTime, boolean isCome,
			AttendType type, Employee employee) {
		this.dutyDay = dutyDay;
		this.employee = employee;
		this.id = id;
		this.isCome = isCome;
		this.punchTime = punchTime;
		this.type = type;

	}
	

	

	public boolean isCome() {
		return isCome;
	}

	public void setCome(boolean isCome) {
		this.isCome = isCome;
	}

	public void setDutyDay(String dutyDay) {
		this.dutyDay = dutyDay;
	}

	public String getDutyDay() {
		return dutyDay;
	}

	public Employee getEmployee() {
		return employee;
	}

	public Integer getId() {
		return id;
	}

	public Date getPunchTime() {
		return punchTime;
	}

	public AttendType getType() {
		return type;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setPunchTime(Date punchTime) {
		this.punchTime = punchTime;
	}

	public void setType(AttendType type) {
		this.type = type;
	}

}
